﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Passwords.Models;

namespace Passwords.Services
{
    public class BackupComparer : IComparer<Backup>
    {
        public int Compare(Backup x, Backup y)
        {
            return y.DateCreated.CompareTo(x.DateCreated);
        }
    }
}
